<template>
    <div>
        <el-carousel :interval="4000" type="card" height="200px">
            <el-carousel-item v-for="item in imgs" :key="item">
                <el-image style="height: 250px;" :src="item" fit="fill"></el-image>
            </el-carousel-item>
        </el-carousel>
    </div>
</template>

<script>
import img1 from '../assets/indexImg/1.png'
import img2 from '../assets/indexImg/2.jpg'
import img3 from '../assets/indexImg/3.png'
import img4 from '../assets/indexImg/4.png'
import img5 from '../assets/indexImg/5.png'
export default {
    name: "Index",
    data() {
        return {
            imgs: [img1, img2, img3, img4, img5]
        }
    }

}
</script>

<style scoped></style>